home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
ed
< prev
next >
Wrap
Text File
|
1995-05-05
|
2KB
|
77 lines
Ed (1.3, 2.x, 3.x located in C:)
SYNOPSIS
The Amiga's built in full-screen text editor.
Ed is a complete text editor. Due to the huge scope
of the available commands you should consult your Amiga
System manual on how to exactly use Ed.
If enough people contact me to include a full
tutorial in DOSMan, I will write one.
FORMAT
1.3:
ED FROM (name) [SIZE (numchars)]
2.x/3.x:
ED [FROM] name] [SIZE numchars] [WITH comfile]
[TABS interval] [WINDOW device] [WIDTH columns]
[HEIGHT rows]
KEYWORDS
FROM
This is the name of the file you wish to edit.
If the file does not exist, Ed will create it. This keyword
is optional as long as it is the first arguement in the
Ed statement.
SIZE
This sets the size of the buffer which ED uses. If
this is the second arguement in the command line, then
the keyword is optional, you only need to type the number.
SIZE defaults to 40,000 bytes. If your buffer is not big
enough to hold the file you are editing, then you will
get a warning message informing you of this from Ed.
WITH
2.x/3.x Only: This lets you make an Ed command file
to execute automatically. This is a command file that
contains a list of extended instructions for Ed that
will execute when the file is run. This exists in the
form of a script. See your Amiga's manual on how to set
up this command script.
TABS
2.x/3.x Only: This lets you set how many spaces will
be skipped when you hit the Tab key. The default Tab is
three spaces.
WINDOW, WIDTH, HEIGHT
2.x/3.x Only: The combination of these three commands
would allow you to open Ed on a remote terminal. Window
lets you specify this device (for example, AUX:). The
Width and Height lets you set the demensions of the new
window.
2.x/3.x Only: You can also edit binary files, not just
plain ASCI text.
EXAMPLE
1. To edit a text file called ThisText in the
Work:TextFiles directory.
Ed Work:TextFiles/ThisText
2. To edit a really big file of 75,000 kbytes in the
Work:TextFiles
Ed Work:TextFiles/ReallyBig.txt SIZE 80000